package com.evil.common.oss.props;

import com.evil.common.oss.props.base.BaseOssProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 阿里云OSS配置
 *
 * @author liyang
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ConfigurationProperties(prefix = "oss.aliyun")
public class AliyunOssProperty extends BaseOssProperty {

    /**
     * 节点
     */
    private String endPoint;

    /**
     * 外网节点
     */
    private String extranetEndPoint;

    /**
     * access key
     */
    private String accessKey;

    /**
     * secret key
     */
    private String secretKey;

    /**
     * 存储桶名称
     */
    private String bucket;
}
